package com.example.xpvideo.entity;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 直播间表(LiveBroadcast)实体类
 *
 * @author 杨丽辉
 * @since 2021-10-18 21:18:13
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LiveBroadcast implements Serializable {
    private static final long serialVersionUID = -71674111932540952L;
        /**
    *主键
    * id
    * isnull 1
    */
        private Integer id;

    /**
    * 房间号
    * isnull 0
    */            private Integer roomNumber;
    /**
    * 店铺id
    * isnull 0
    */            private Integer merchantsId;
    /**
    * 是否推荐：0：否；1：是
    * isnull 0
    */            private Integer isRecommend;
    /**
    * 是否置顶：0：否；1：是
    * isnull 0
    */            private Integer isTop;
    /**
    * 置顶天数
    * isnull 0
    */            private Integer topDays;
    /**
    * 是否禁播；0否；1是
    * isnull 0
    */            private Integer isBanned;
                private Integer createTime;
                private Integer updateTime;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(Integer roomNumber) {
        this.roomNumber = roomNumber;
    }
        
    public Integer getMerchantsId() {
        return merchantsId;
    }

    public void setMerchantsId(Integer merchantsId) {
        this.merchantsId = merchantsId;
    }
        
    public Integer getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }
        
    public Integer getIsTop() {
        return isTop;
    }

    public void setIsTop(Integer isTop) {
        this.isTop = isTop;
    }
        
    public Integer getTopDays() {
        return topDays;
    }

    public void setTopDays(Integer topDays) {
        this.topDays = topDays;
    }
        
    public Integer getIsBanned() {
        return isBanned;
    }

    public void setIsBanned(Integer isBanned) {
        this.isBanned = isBanned;
    }
        
    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }
        
    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"roomNumber\":" + roomNumber +
                            " ,\"merchantsId\":" + merchantsId +
                            " ,\"isRecommend\":" + isRecommend +
                            " ,\"isTop\":" + isTop +
                            " ,\"topDays\":" + topDays +
                            " ,\"isBanned\":" + isBanned +
                            " ,\"createTime\":" + createTime +
                            " ,\"updateTime\":" + updateTime +
                  '}';
    }


}
